<script setup>
import { RouterView } from 'vue-router'
import { onMounted } from 'vue'
import { useAuthStore } from '@/stores/authStore'

const authStore = useAuthStore()

onMounted(() => {
  console.log('app钩子函数执行了')
  authStore.hasLoadedDynamicRoutes=false
})
</script>

<template>
  <RouterView />
</template>

<style>

</style>